import 'package:flutter/material.dart';
import 'package:flutter_easyrefresh/easy_refresh.dart';
import 'package:flutter_common/widget/loadingAnim.dart';

class EasyFooter extends RefreshFooter {


  // 构造函数
  EasyFooter(
      {@required GlobalKey<RefreshFooterState> key,
      })
      : super(key: key);
  @override
  ClassicsFooterState createState() => ClassicsFooterState();
}

class ClassicsFooterState extends RefreshFooterState<EasyFooter> {


  // 下拉刷新布局
  @override
  Widget build(BuildContext context) {
    return new Container(
        height: this.height,
        child: Container(
          child: Center(
            child: LoadingAnim.getProgressAnim(),
          ),
        ));
  }
}
